<html>
<body>
  <script language="JavaScript">
    var index = document.location.href.indexOf("?");
    var queryParams = "";
    if (index != -1)
    {
    	queryParams = document.location.href.substring(index, document.location.href.length);
    }
	// alert("query params: " + queryParams);
	var newLocation = "x-jpoco-android://callback";
	if (queryParams.length > 0)
	{
		newLocation = newLocation + queryParams;
	}
	// alert("newLocation: " + newLocation);
	document.location=newLocation;
  </script>
</body>
</html>
